package com.nsgf.library.data.bean;

public class UserDataBean {
    private int userId;
    private UserBean user;
    private TokenInfoBean tokenInfo;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public TokenInfoBean getTokenInfo() {
        return tokenInfo;
    }

    public void setTokenInfo(TokenInfoBean tokenInfo) {
        this.tokenInfo = tokenInfo;
    }

    public static class UserBean {

        private int id;
        private String username;
        private String password;
        private String salt;
        private String position;
        private Object technicalGrade;
        private Object jobGrade;
        private String sex;
        private String sexDesc;
        private String phone;
        private int status;
        private int userType;
        private String createTime;
        private String loginTime;
        private String loginIp;
        private int loginCount;
        private int isDel;
        private int roleId;
        private String roleName;
        private boolean singleProject;
        private String deptName;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public Object getTechnicalGrade() {
            return technicalGrade;
        }

        public void setTechnicalGrade(Object technicalGrade) {
            this.technicalGrade = technicalGrade;
        }

        public Object getJobGrade() {
            return jobGrade;
        }

        public void setJobGrade(Object jobGrade) {
            this.jobGrade = jobGrade;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getSexDesc() {
            return sexDesc;
        }

        public void setSexDesc(String sexDesc) {
            this.sexDesc = sexDesc;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getUserType() {
            return userType;
        }

        public void setUserType(int userType) {
            this.userType = userType;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getLoginTime() {
            return loginTime;
        }

        public void setLoginTime(String loginTime) {
            this.loginTime = loginTime;
        }

        public String getLoginIp() {
            return loginIp;
        }

        public void setLoginIp(String loginIp) {
            this.loginIp = loginIp;
        }

        public int getLoginCount() {
            return loginCount;
        }

        public void setLoginCount(int loginCount) {
            this.loginCount = loginCount;
        }

        public int getIsDel() {
            return isDel;
        }

        public void setIsDel(int isDel) {
            this.isDel = isDel;
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public boolean isSingleProject() {
            return singleProject;
        }

        public void setSingleProject(boolean singleProject) {
            this.singleProject = singleProject;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }
    }

    public static class TokenInfoBean {
        /**
         * tokenName : satoken
         * tokenValue : c52ef9c5af6144b3a05279cc8a4338af
         * isLogin : true
         * loginId : 1000017
         * loginType : login
         * tokenTimeout : 2591999
         * sessionTimeout : 2591999
         * tokenSessionTimeout : 2044342
         * tokenActivityTimeout : -1
         * loginDevice : default-device
         * tag : null
         */

        private String tokenName;
        private String tokenValue;
        private boolean isLogin;
        private String loginId;
        private String loginType;
        private int tokenTimeout;
        private int sessionTimeout;
        private int tokenSessionTimeout;
        private int tokenActivityTimeout;
        private String loginDevice;
        private Object tag;

        public String getTokenName() {
            return tokenName;
        }

        public void setTokenName(String tokenName) {
            this.tokenName = tokenName;
        }

        public String getTokenValue() {
            return tokenValue;
        }

        public void setTokenValue(String tokenValue) {
            this.tokenValue = tokenValue;
        }

        public boolean isIsLogin() {
            return isLogin;
        }

        public void setIsLogin(boolean isLogin) {
            this.isLogin = isLogin;
        }

        public String getLoginId() {
            return loginId;
        }

        public void setLoginId(String loginId) {
            this.loginId = loginId;
        }

        public String getLoginType() {
            return loginType;
        }

        public void setLoginType(String loginType) {
            this.loginType = loginType;
        }

        public int getTokenTimeout() {
            return tokenTimeout;
        }

        public void setTokenTimeout(int tokenTimeout) {
            this.tokenTimeout = tokenTimeout;
        }

        public int getSessionTimeout() {
            return sessionTimeout;
        }

        public void setSessionTimeout(int sessionTimeout) {
            this.sessionTimeout = sessionTimeout;
        }

        public int getTokenSessionTimeout() {
            return tokenSessionTimeout;
        }

        public void setTokenSessionTimeout(int tokenSessionTimeout) {
            this.tokenSessionTimeout = tokenSessionTimeout;
        }

        public int getTokenActivityTimeout() {
            return tokenActivityTimeout;
        }

        public void setTokenActivityTimeout(int tokenActivityTimeout) {
            this.tokenActivityTimeout = tokenActivityTimeout;
        }

        public String getLoginDevice() {
            return loginDevice;
        }

        public void setLoginDevice(String loginDevice) {
            this.loginDevice = loginDevice;
        }

        public Object getTag() {
            return tag;
        }

        public void setTag(Object tag) {
            this.tag = tag;
        }
    }
}
